cc.Class({
    extends: cc.Component,

    properties: {
        left_playerName: cc.Label,
        right_playerName: cc.Label,
        // left_coin:cc.Node,
        // right_coin:cc.Node,
        left_restult: cc.Sprite,
        right_restult: cc.Sprite,
        left_head: cc.Node,
        right_head: cc.Node,
        left_num1: cc.Label,
        left_num2: cc.Label,
        right_num1: cc.Label,
        right_num2: cc.Label,
    },

    // LIFE-CYCLE CALLBACKS:

    onLoad() {
        console.log("game____Over")
    },
    selectBtn(evt) {
        let _name = evt.currentTarget.name;
        switch (_name) {
            case "down":
                this.node.active = false;
                // cc.find("Canvas/game_start/rank").active = true;
                break;
            case "back":
                this.node.active = false;
                // cc.find("Canvas/game_start/rank").active = true;
                break;

        }
    },
    start() {

    },

    // update (dt) {},
});
